home *** CD-ROM | disk | FTP | other *** search
Makefile | 2002-11-18 | 2.7 KB | 83 lines |
- #
- # $Id$
- #
- # :ts=4
- #
- # AmigaOS wrapper routines for GNU CVS, using the RoadShow TCP/IP API
- #
- # Written and adapted by Olaf `Olsen' Barthel <olsen@sourcery.han.de>
- # Jens Langner <Jens.Langner@light-speed.de>
- #
- # This program is free software; you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation; either version 2 of the License, or
- # (at your option) any later version.
- #
- # This program is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with this program; if not, write to the Free Software
- # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- #
-
- TARGET = libsrc.a.elf
-
- #
-
- CC = ppc-morphos-gcc
- STRIP = ppc-morphos-strip
- OBJDUMP = ppc-morphos-objdump
- RANLIB = ppc-morphos-ranlib
- AR = ppc-morphos-ar
- RM = rm -f
-
- CPU = -mcpu=604e
- CPUFLAGS = -mmultiple
- WARN = -Wall
- OPTFLAGS = -O2 -fomit-frame-pointer -fstrength-reduce
- DEBUG = -DDEBUG -g3 -O0
- CFLAGS = -noixemul -I./ -I../amiga -I../amiga/netinclude -I../ -I../lib -I../diff -I../zlib -I/gg/ppc-morphos/sys-include -DHAVE_CONFIG_H $(CPU) $(CPUFLAGS) $(WARN) $(OPTFLAGS) $(DEBUG) -c
-
- # CPU and DEBUG can be defined outside, defaults to above
- # using e.g. "make DEBUG= CPU=-mcpu=603e" produces optimized non-debug PPC-603e version
- #
- # OPTFLAGS are disabled by DEBUG normally!
- #
- # ignored warnings are:
- # none - because we want to compile with -Wall all the time
- #
-
- OBJS = add.o.elf admin.o.elf annotate.o.elf buffer.o.elf checkin.o.elf checkout.o.elf classify.o.elf \
- client.o.elf commit.o.elf create_adm.o.elf cvsrc.o.elf diff.o.elf edit.o.elf entries.o.elf expand_path.o.elf \
- fileattr.o.elf find_names.o.elf hardlink.o.elf hash.o.elf history.o.elf ignore.o.elf import.o.elf \
- lock.o.elf log.o.elf login.o.elf logmsg.o.elf main.o.elf mkmodules.o.elf modules.o.elf myndbm.o.elf no_diff.o.elf \
- parseinfo.o.elf patch.o.elf rcs.o.elf rcscmds.o.elf recurse.o.elf release.o.elf remove.o.elf repos.o.elf \
- root.o.elf scramble.o.elf server.o.elf status.o.elf tag.o.elf update.o.elf watch.o.elf wrapper.o.elf vers_ts.o.elf \
- subr.o.elf filesubr.o.elf run.o.elf version.o.elf error.o.elf zlib.o.elf
-
- #
-
- all: $(TARGET)
-
- #
-
- %.o.elf: %.c
- $(CC) $(CFLAGS) $< -o $@
-
- #
-
- $(TARGET): $(OBJS)
- $(AR) rs $@ $(OBJS)
-
- clean:
- -$(RM) $(TARGET) $(OBJS)
-
- #######################################
-
-
- #######################################
-
-